
let Synchro=qguan("synchro")
@Synchro()
export default  class   ClassLoad{
    constructor(){
    this.isSynchro=true;
    }
    run(name,paty,value,type) {
        let jsrLoad = qguan("syncJsLoad")
        let obj = jsrLoad.run(name, null,paty , type);
        var suffix = paty.split('.')[0];
        return new Promise(resolve => {
            let newObj = new obj.default();
            qguan(suffix, newObj, '', 'save')
            resolve(200)
        })


    }
}